#include "other.h"
#include "opencv2/opencv.hpp"
#include "preprocess2.h"
#include <string>

using namespace std;
using namespace cv;

int process_for_region(string name)
{
	Mat Pre_src_image = imread(name.c_str());
    Mat dest_image;
    bool debug = false;
    fPreprocessImage(Pre_src_image, 190, dest_image, debug);
    Pre_src_image = dest_image;
    imwrite("./on_work_train/a.jpg", Pre_src_image);
    return 0;
}
